home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1996 February / EnigmA AMIGA RUN 04 (1996)(G.R. Edizioni)(IT)[!][issue 1996-02][Skylink CD III].iso / earcd / comm2 / termsorc.lha / Extras / Source / term-source.lha / SMakefile < prev    next >
Makefile  |  1995-09-29  |  4KB  |  98 lines

  1. ###############################################################################
  2. #
  3. #    SMakefile
  4. #
  5. #    Makefile for the `SMake' utility required to build `term'
  6. #
  7. #    Copyright © 1990-1995 by Olaf `Olsen' Barthel
  8. #        All Rights Reserved
  9. #
  10. ###############################################################################
  11.  
  12. .c.o:
  13.     sc $(CFLAGS) $(GST) $*.c
  14.  
  15. .c.oo:
  16.     sc $(CFLAGS) $(GST) $(OPTIMIZE) opttime objname=$*.oo $*.c
  17.  
  18. .asm.o:
  19.     asm -d $*.asm
  20.  
  21. CPU        = ANY
  22. #CPU        = 68030
  23.  
  24. OPTIMIZE    = optimize
  25.  
  26. INCLUDEFLAGS    = define=INCLUDEALL
  27. INCLUDEFILES    = gtlayout.h termGlobal.h termData.h termProtos.h \
  28.           termErrors.h termARexxAttributes.h termARexxGlobal.h
  29.  
  30. C_UTILITY    = utillib
  31. L_UTILITY    = define __CXM33=__UCXM33 define __CXD33=__UCXD33 \
  32.           define __CXM22=__UCXM22 define __CXD22=__UCXD22
  33.  
  34. DEBUG        = debug=line
  35.  
  36. GST        = gstimm gst=term.gst
  37.  
  38. CFLAGS        = mccons streq strmerge nostkchk idlen=65 nover nooptinlocal \
  39.           ignore=306 cpu=$(CPU) define=CPU_$(CPU) $(C_UTILITY) $(DEBUG)
  40.  
  41. LIBS        = lib:sc.lib lib:amiga.lib lib:debug.lib
  42.  
  43. OBJS        = termTag.o ASCIIPanel.o CapturePanel.o CaptureParser.oo Chat.o \
  44.           ClipPanel.o Colour.oo CommandPanel.o CopyPanel.o CursorPanel.o \
  45.           CustomRequest.o DatePanel.o DayPanel.o EmulationPanel.o FastMacroPanel.o \
  46.           FixPath.o HotkeyPanel.o ImportPanel.o LibPanel.o LibPanelPlus.o \
  47.           MacroPanel.o Matrix.o MiscPanel.o ModemPanel.o \
  48.           PathPanel.o PatternPanel.o PhonePanel.o PhonePanelPlus.o PhonePanelUI.o \
  49.           PrintPanel.o QuickSort.o RatePanel.o ScreenPanel.o SerialIO.oo \
  50.           SerialPanel.o SoundPanel.o SpeechPanel.o StackCall.o Start.o \
  51.           TerminalPanel.o TimePanel.o TransferPanel.o TranslationPanel.o TrapPanel.o \
  52.           UploadPanel.o termAbout.o termAmigaGuide.o termARexx.oo termARexxAttributes.oo \
  53.           termARexxCommands.oo termARexxData.o termASCIITransfer.oo termAux.o termBeep.o \
  54.           termBoxes.o termBuffer.oo termCall.o termCapture.oo termClip.oo \
  55.           termConfig.o termConsole.oo termCRC.o termCrypt.oo termData.o \
  56.           termDial.o termEmulation.oo termEmulationProcess.oo termFastMacros.o termFastMacroWindow.o \
  57.           termFileBuffer.oo termHotkeys.o termIdentify.o termInfoWindow.o termInit.o \
  58.           termLists.oo termLocale.o termMain.o termMarker.o termMem.o \
  59.           termMemory.oo termMsgQueue.oo termOldConfig.o termPacket.o termPhone.o \
  60.           termPickFile.o termPickScreen.o termPrint.o termRaster.oo termRemember.oo \
  61.           termResponse.oo termSaveWindow.o termScale.oo termScroll.oo termSendText.oo \
  62.           termSerial.oo termSound.oo termSpeech.o termStatusDisplay.o termStrings.o \
  63.           termTextBuffer.oo termTimeDate.o termTransfer.o termTranslate.oo termTraps.o \
  64.           termUploadQueue.o termVerify.o termXEM.oo termXPR.oo
  65.  
  66. all:        term.gst term
  67.  
  68. termTag.o:    termTag.asm term_rev.i
  69.         asm -d -dCPU_$(CPU) -dCPU='$(CPU)' termTag.asm
  70.  
  71. term:        $(OBJS)
  72.         slink with t:term.with <<!(t:term.with)
  73.             from
  74.             $(OBJS)
  75.             to
  76.             $@
  77.             lib
  78.             $(LIBS)
  79.             sc sd nd noicons maxhunk 100000
  80.             $(L_UTILITY)
  81.         <
  82.  
  83. term.gst:    PreInclude.c PreInclude.h termStrings.h OwnDevUnit.h xproto.h xem.h Rendezvous.h $(INCLUDEFILES)
  84.         gst unload $@
  85.         sc noobjname define=CATCOMP_NUMBERS idlen=65 $(INCLUDEFLAGS) makegst=$@ PreInclude.c
  86.         gst $@
  87.  
  88. termStrings.o:    termStrings.c termStrings.h
  89.         sc $(CFLAGS) data=far termStrings.c
  90.  
  91. Start.o:    Start.c
  92.         sc $(CFLAGS) opttime Start.c
  93.  
  94. termARexxCommands.oo:    termARexxCommands.c termARexxGlobal.h termARexxAttributes.h
  95. termARexx.o:        termARexx.c termARexxGlobal.h termARexxAttributes.h
  96. termARexxData.o:    termARexxData.c termARexxGlobal.h termARexxAttributes.h
  97. termARexxAttributes.oo:    termARexxAttributes.c termARexxGlobal.h termARexxAttributes.h
  98.